const Koa=require('koa')
const app=new Koa()
const cors = require('koa2-cors');






// 引入商品模块路由
const hotRouter=require('./router/hot.router')
app.use(cors());
app.use(hotRouter.routes())



app.listen(3000,()=>{
    console.log('请访问 http://127.0.0.1:3000')
})
